package com.itbbfx.mapper.hospitalization;

import com.itbbfx.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LadminMapper {

    //查询未出院的患者信息
    List<Register> selRegister(Register register);

    void updZ(Register register);

    //添加患者信息
    int addRegister(Register register);

    //修改床位状态
    int updBed(Register register);

    //查询所有的科室
    List<Departments> selDepartment(Departments departments);

    //查询折扣
    List<Moneytype> selDis();

    //查询该科室下的所有医生
    List<Doctor> selDoctor(Doctor doctor);

    //查询没有入住的床位
    List<Bed> selBed(Bed bed);

    //查询门诊过来的患者
    List<Register> selDoor();

    //把用户的信息进行更改
    int updKe(Register register);


}
